//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	WebSecurityConcept.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Security
{
	/// <summary>
	/// SharePoint Standard Security Concept (Users, Groups, Permission Levels)
	/// </summary>
	public class WebSecurityConcept : SecurityConceptMatrixBased
	{
		/// <summary>
		/// SharePoint Standard Security Concept (Users, Groups, Permission Levels)
		/// </summary>
		public WebSecurityConcept(SecurityContext ctx)
			: base(ctx)
		{
		}

		/// <summary>
		/// Ensure runtime support is loaded (executed once application starts). Controls administrative organizational structure.
		/// </summary>
		public override void LoadRuntimeSupport()
		{
#warning WebSecurityConcept.LoadRuntimeSupport: not implemented!
		}

		/// <summary>
		/// Return security principal by <paramref name="sourcePrincipal"/>
		/// </summary>
		public override string GetSecurityPrincipal(string sourcePrincipal)
		{
			return sourcePrincipal;
		}
	}
}